package com.breakfast.fun.ui.user.pay;

import com.breakfast.fun.base.BaseModel;
import com.breakfast.fun.base.BasePresenter;
import com.breakfast.fun.base.BaseView;
import com.breakfast.fun.data.entity.user.Result;
import com.breakfast.fun.data.entity.user.recharge.PayBean;
import com.breakfast.fun.data.entity.user.recharge.RechargeMoney;

import java.util.Map;

import retrofit2.http.FieldMap;
import rx.Observable;

/**
 * Created by yukai on 16/9/23.
 */

public interface BFPayContract {

    interface Model extends BaseModel {
        Observable<Result> getPayForBalanceModel(@FieldMap Map<String, String> map);
    }

    interface View extends BaseView {
        void showPaySuccess();
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void payForBalance(String orderNo);
    }
}
